refactor(reverse_sync): 리스트 마커 공백 감지를 별도 함수로 분리합니다 - #984
Closed
jk-kim0 wants to merge 0 commit into
Closed
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
jk-kim0
force-pushed
the
jk/fix-reverse-sync-inline-boundary-whitespace
branch
from
April 6, 2026 15:22
8ff1ab0 to
21b9b91
Compare
jk-kim0
force-pushed
the
jk/fix-reverse-sync-inline-boundary-whitespace
branch
from
April 7, 2026 02:59
21b9b91 to
53b154a
Compare
jk-kim0
force-pushed
the
jk/fix-reverse-sync-inline-boundary-whitespace
branch
from
April 7, 2026 03:05
53b154a to
4e83359
Compare
jk-kim0
force-pushed
the
jk/fix-reverse-sync-inline-boundary-whitespace
branch
from
April 10, 2026 09:06
4e83359 to
9387539
Compare
jk-kim0
force-pushed
the
jk/fix-reverse-sync-inline-boundary-whitespace
branch
from
July 28, 2026 09:50
9387539 to
41741dd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
_normalize_list_for_content_compare에서 마커 뒤 공백(current_marker_ws)을 텍스트 접두어로 포함하던 방식을 제거합니다_has_marker_ws_change함수로 별도 감지하도록 분리합니다collapse_ws호출을replace('\n', ' ').strip()으로 교체하여, 내부 가시 공백을 보존하면서 XHTML과 정렬합니다_apply_mdx_diff_to_xhtml)을 건너뛰도록 개선합니다변경 파일
patch_builder.py_normalize_list_for_content_compare:current_marker_ws제거, 항목별.strip()추가patch_builder.py_has_marker_ws_change: 마커 뒤 공백 변경 별도 감지 함수 신규patch_builder.pycollapse_ws(_old_plain_raw)→_old_plain_raw.replace('\n', ' ').strip()patch_builder.pyhas_any_change에has_marker_ws_change플래그 포함Test plan
_normalize_list_for_content_compare마커 공백 무시 단위 테스트 6건 통과_has_marker_ws_change단위 테스트 5건 추가 및 통과🤖 Generated with Claude Code